body {
    font-family:"Arial","Microsoft YaHei","黑体","宋体",sans-serif;
    margin: 0;
    padding: 0;
    width: 400px;
    height: 800px;
}

.title {
    text-align: center;
    font-size: 20px;
    padding: 10px;
    font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif;
    font-weight: bold;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
}

.tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    background: white;
    border: none;
    outline: none;
    transition: background 0.2s;
}
.noSelect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera, and Firefox */
}

.tab.active {
    background: #fff;
    border-bottom: 2px solid #4285f4;
    color: #4285f4;
}

.tab-content {
    display: none;
    padding: 15px;
}

.tab-content.active {
    display: block;
}

.card {
    width: 300px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease;
  }
.card-about {
    width: 380px;
    height: auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease;
    line-height: 1.5; /* 基于当前字体大小的倍数 */
  }
  
  .card:hover {
    transform: translateY(-4px);
  }
  
  .card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #e6f0ff;
    padding: 10px 16px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #dce7f3;
  }
  /* .card-content::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #4da6ff;
    margin-right: 8px;
    border-radius: 2px;
    vertical-align: middle;
  } */
  
  
  .card-content {
    padding: 4px 16px;
    font-size: 16px;
    color: #555;
    word-break: break-all; /* 强制长单词或路径断行 */
    white-space: normal;   /* 防止不换行 */
    border-left: 4px solid #4da6ff;
    padding: 10px 5px;
    word-break: break-all;
  }

  
  .card-button {
    border-top: 1px solid #f0f0f0;
    text-align: right;
    padding: 2px 6px;
    border: none;
    background: #4da6ff;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .card-button:hover {
    background-color: #3399ff;
  }
  

/* 嵌套布局：左侧栏+右侧内容 */
.sub-tab-layout {
    display: flex;
  }
  
  /* 左侧子菜单 */
  .sub-sidebar {
    width: 100px;
    background-color: #f0f6ff;
    border-right: 1px solid #d6e4f0;
    display: flex;
    flex-direction: column;
  }
  
  .sub-tab {
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #d6e4f0;
    transition: background 0.2s;
  }
  
  .sub-tab:hover {
    background-color: #dbefff;
  }
  
  .sub-tab.active {
    background-color: #c2e0ff;
    font-weight: bold;
    color: #1a73e8;
  }
  
  /* 右侧内容区域 */
  .sub-content {
    flex: 1;
    padding: 10px;
  }
  
  /* 子内容切换 */
  .sub-content-panel {
    display: none;
  }
  
  .sub-content-panel.active {
    display: block;
  }
  
  